<?php
	

	$SITE_MIDDLE .= FormatElement ( GetLangString ( $lang, "txt_chatroom") ,  GetLangString ( $lang, "msg_chatroom") );
	$SITE_MIDDLE .=  "<center><font size=6><a href=\"javascript:ShowChatWindow()\">".GetLangString($lang,"txt_chatnow") ."</a></font></center>";


	if ($_REQUEST['popup']) {
	if (!(isset($name))) $name = "guest?????";
		$ISTEXT=0;
		echo ( 
"<html><head><title>Chat</title></head><body>
<applet code=\"IRCApplet.class\" archive=\"/3rdparty/pjirc/irc.jar,/3rdparty/pjirc/pixx.jar\" width=100% height=95%>
<param name=\"nick\" value=\"$name\">
<param name=\"alternatenick\" value=\"$name???\">
<param name=\"name\" value=\"BlaatSchaap\">
<param name=\"host\" value=\"irc1.blaatschaap.be\">
<param name=\"command1\" value=\"/join #blaatschaap\">
<param name=\"port\" value=\"8067\">
<param name=\"coding\" value=\"2\">
<param name=\"gui\" value=\"pixx\">
<param name=\"quitmessage\" value=\"blaat\">
<param name=\"style:sourcefontrule1\" value=\"none+Channel all monospace 12\">
<param name=\"style:sourcefontrule2\" value=\"none+Channel all Courier 12\">
<param name=\"pixx:highlight\" value=\"true\">
<param name=\"pixx:highlightnick\" value=\"true\">
<param name=\"language\" value=\"/3rdparty/pjirc/$lang\">
<param name=\"pixx:language\" value=\"/3rdparty/pjirc/pixx-$lang\">

<!-- the raping of irc, graphical smileys -->
<param name=\"style:bitmapsmileys\" value=\"true\">
<param name=\"style:smiley1\" value=\":) /3rdparty/pjirc/img/sourire.gif\">
<param name=\"style:smiley2\" value=\":-) /3rdparty/pjirc/img/sourire.gif\">
<param name=\"style:smiley3\" value=\":-D /3rdparty/pjirc/img/content.gif\">
<param name=\"style:smiley4\" value=\":d /3rdparty/pjirc/img/content.gif\">
<param name=\"style:smiley5\" value=\":-O /3rdparty/pjirc/img/OH-2.gif\">
<param name=\"style:smiley6\" value=\":o /3rdparty/pjirc/img/OH-1.gif\">
<param name=\"style:smiley7\" value=\":-P /3rdparty/pjirc/img/langue.gif\">
<param name=\"style:smiley8\" value=\":p /3rdparty/pjirc/img/langue.gif\">
<param name=\"style:smiley9\" value=\";-) /3rdparty/pjirc/img/clin-oeuil.gif\">
<param name=\"style:smiley10\" value=\";) /3rdparty/pjirc/img/clin-oeuil.gif\">
<param name=\"style:smiley11\" value=\":-( /3rdparty/pjirc/img/triste.gif\">
<param name=\"style:smiley12\" value=\":( /3rdparty/pjirc/img/triste.gif\">
<param name=\"style:smiley13\" value=\":-| /3rdparty/pjirc/img/OH-3.gif\">
<param name=\"style:smiley14\" value=\":| /3rdparty/pjirc/img/OH-3.gif\">
<param name=\"style:smiley15\" value=\":'( /3rdparty/pjirc/img/pleure.gif\">
<param name=\"style:smiley16\" value=\":$ /3rdparty/pjirc/img/rouge.gif\">
<param name=\"style:smiley17\" value=\":-$ /3rdparty/pjirc/img/rouge.gif\">
<param name=\"style:smiley18\" value=\"(H) /3rdparty/pjirc/img/cool.gif\">
<param name=\"style:smiley19\" value=\"(h) /3rdparty/pjirc/img/cool.gif\">
<param name=\"style:smiley20\" value=\":-@ /3rdparty/pjirc/img/enerve1.gif\">
<param name=\"style:smiley21\" value=\":@ /3rdparty/pjirc/img/enerve2.gif\">
<param name=\"style:smiley22\" value=\":-S /3rdparty/pjirc/img/roll-eyes.gif\">
<param name=\"style:smiley23\" value=\":s /3rdparty/pjirc/img/roll-eyes.gif\">

</applet>");
include("google.inc");
echo ("</body></html>");
	}

?>
